package com.qfmy.model.vo.user;

import com.qfmy.model.entity.user.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 清风明月
 * @Package com.qfmy.model.vo.user
 * @date 2025/10/30
 * @description 用户信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVo {

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户的姓名")
    private String userName;

    @Schema(description = "用户的邮箱")
    private String email;

    @Schema(description = "用户的头像（默认系统头像）")
    private String avatar;

    @Schema(description = "用户的优惠券数量（默认0张）")
    private Integer coupon;

    @Schema(description = "用户的余额（默认0元）")
    private BigDecimal balance;

    @Schema(description = "关注的数量（新用户默认0）")
    private Integer followCount;

    @Schema(description = "点赞的数量（新用户默认0）")
    private Integer likeCount;

    @Schema(description = "阅读时长（单位：分钟，新用户默认0）")
    private Integer readTime;

    @Schema(description = "听书时长（单位：分钟，新用户默认0）")
    private Integer listenTime;

    @Schema(description = "用户的简介")
    private String introduction;

    @Schema(description = "角色：0=普通用户（默认），1=vip用户，2=管理员")
    private Integer role;

    @Schema(description = "VIP等级：0=非VIP（默认），1=青铜，2=白银，3=黄金，4=铂金，5=钻石（仅vip用户有效）")
    private Integer vipLevel;

    @Schema(description = "用户性别 0:女 1:男（默认null，允许未设置）")
    private Integer gender;

    @Schema(description = "用户喜欢的小说类型（多个类型用逗号分隔，关联novel_type表的type_id）")
    private String likeType;

    @Schema(description = "用户所在地区（如“北京朝阳”“广东深圳”）")
    private String region;

    @Schema(description = "生日")
    private String birthday;

}